/* ============================================
   Injection Mold Manufacturing Services — Style
   Xiamen Goldcattle Plastic & Metal Products Co., Ltd.
   Optimized for SEO + GEO (AI Search)
   ============================================ */

/* ----- BASE ----- */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  font-size:15px; line-height:1.7; color:#1e293b;
  background:#f8fafc; overflow-x:hidden;
}
img { max-width:100%; height:auto; display:block; }
a { color:#4a90c4; text-decoration:none; }
a:hover { color:#2d6a8f; }

/* ----- CONTAINER ----- */
.container { max-width:1200px; margin:0 auto; padding:0 24px; }

/* ----- TYPOGRAPHY ----- */
h1 { font-size:38px; font-weight:700; line-height:1.25; color:#fff; }
h2 { font-size:28px; font-weight:700; color:#0f172a; margin-bottom:12px; letter-spacing:-0.3px; }
h3 { font-size:18px; font-weight:600; color:#1e293b; margin-bottom:8px; }
h4 { font-size:15px; font-weight:600; color:#334155; margin-bottom:6px; }
.section-label {
  display:inline-block; font-size:11px; font-weight:600;
  text-transform:uppercase; letter-spacing:1.5px; color:#4a90c4;
  margin-bottom:8px;
}
.section-desc { font-size:15px; color:#64748b; margin-bottom:36px; max-width:780px; line-height:1.65; }

/* ----- BUTTONS ----- */
.btn {
  display:inline-block; font-size:15px; font-weight:600; padding:14px 32px;
  border-radius:8px; text-decoration:none; transition:all .25s; cursor:pointer; border:none;
  text-align:center; white-space:nowrap;
}
.btn-primary { background:#4a90c4; color:#fff; }
.btn-primary:hover { background:#357ab3; color:#fff; }
.btn-outline { border:2px solid rgba(255,255,255,0.4); color:#fff; background:transparent; }
.btn-outline:hover { border-color:#fff; color:#fff; }
.btn-cta { background:#fff; color:#0f172a; font-size:16px; padding:16px 40px; }
.btn-cta:hover { background:#e2e8f0; color:#0f172a; }
.btn-lg { font-size:17px; padding:18px 42px; }

/* ----- HERO ----- */
.hero {
  background: linear-gradient(135deg, #0a1628 0%, #122244 40%, #0f3460 100%);
  padding:80px 0 64px; color:#fff; position:relative; overflow:hidden;
}
.hero-grid { display:flex; gap:48px; align-items:flex-start; position:relative; z-index:1; }
.hero-text { flex:1.1; }
.hero-text h1 { margin-bottom:8px; }
.hero-text h1 em { font-style:normal; color:#5db8fe; }
.hero-subtitle { font-size:17px; color:#94a3b8; margin-bottom:20px; line-height:1.7; }
.hero-tags { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:28px; }
.hero-tags span {
  background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.12);
  color:#cbd5e1; padding:6px 14px; border-radius:6px; font-size:13px; font-weight:500;
}
.hero-actions { display:flex; gap:14px; flex-wrap:wrap; }
.hero-metrics { flex:0.85; display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.hero-metric {
  background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.1);
  border-radius:10px; padding:18px 16px; text-align:center;
}
.hero-metric .val { font-size:30px; font-weight:700; color:#4a90c4; display:block; line-height:1.2; }
.hero-metric .lbl { font-size:12px; color:#94a3b8; display:block; margin-top:4px; letter-spacing:0.4px; }

/* ----- TRUST BAR ----- */
.trust-bar { background:#fff; border-bottom:1px solid #e2e8f0; }
.trust-grid { display:flex; justify-content:space-around; text-align:center; padding:28px 0; flex-wrap:wrap; }
.trust-item .trust-num { font-size:28px; font-weight:700; color:#4a90c4; }
.trust-item .trust-label { font-size:12px; color:#64748b; text-transform:uppercase; letter-spacing:0.6px; margin-top:2px; }

/* ----- SECTION ----- */
.section { padding:56px 0; }
.section-alt { background:#fff; }
.section-dark { background:#0f172a; color:#e2e8f0; }
.section-dark h2 { color:#fff; }
.section-header { text-align:center; margin-bottom:44px; }
.section-header h2 { margin-bottom:8px; }
.section-header .section-desc { margin-left:auto; margin-right:auto; }

/* ----- AI OVERVIEW ----- */
.ai-overview { background:#fff; padding:48px 0; border-bottom:1px solid #e2e8f0; }
.ai-overview h2 { font-size:20px; margin-bottom:16px; }
.ai-overview .answer { font-size:15px; color:#475569; line-height:1.75; margin-bottom:18px; }
.ai-tags { display:flex; flex-wrap:wrap; gap:10px; }
.ai-tag {
  background:#f0f7ff; border-left:3px solid #4a90c4;
  padding:8px 16px; border-radius:0 6px 6px 0; font-size:14px; color:#1e3a5f;
}

/* ----- CAPABILITY TABLE ----- */
.cap-table-wrap { overflow-x:auto; -webkit-overflow-scrolling:touch; border-radius:12px; box-shadow:0 4px 20px -4px rgba(0,0,0,0.08); }
.cap-table { width:100%; border-collapse:collapse; font-size:14px; min-width:600px; }
.cap-table th { background:#0f172a; color:#fff; padding:12px 18px; font-weight:600; text-align:left; white-space:nowrap; }
.cap-table td { padding:12px 18px; border-bottom:1px solid #e2e8f0; color:#334155; }
.cap-table tr:last-child td { border-bottom:none; }
.cap-table tr:nth-child(even) td { background:#f8fafc; }

/* ----- CHALLENGE CARDS ----- */
.challenge-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.challenge-card {
  background:#f8fafc; border-radius:10px; padding:24px; border-top:3px solid #0f172a;
}
.challenge-card h3 { margin-bottom:4px; }
.challenge-card .badge { font-size:12px; font-weight:600; text-transform:uppercase; letter-spacing:0.5px; }
.challenge-card .badge-p { color:#c62828; }
.challenge-card .badge-s { color:#2e7d32; }
.challenge-card .badge-r { color:#4a90c4; }
.challenge-card p { font-size:14px; color:#475569; line-height:1.65; margin:6px 0; }

/* ----- CAPABILITY CARDS ----- */
.cap-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.cap-card {
  background:#f8fafc; border-radius:10px; padding:22px 18px; border-top:3px solid #0f172a;
}
.cap-card h3 { font-size:16px; }
.cap-card .label { font-size:12px; color:#64748b; font-weight:600; text-transform:uppercase; letter-spacing:0.5px; }
.cap-card ul { list-style:none; margin-top:8px; }
.cap-card li { font-size:14px; color:#475569; padding:2px 0; padding-left:14px; position:relative; line-height:1.6; }
.cap-card li::before { content:'\2022'; color:#4a90c4; position:absolute; left:0; font-weight:bold; }

/* ----- STEEL GRID ----- */
.steel-grid { display:grid; grid-template-columns:repeat(6,1fr); gap:14px; }
.steel-card {
  background:#f8fafc; border-radius:10px; padding:18px 14px; border-top:3px solid #0f172a; text-align:center;
}
.steel-card h4 { font-size:15px; color:#0f172a; margin-bottom:4px; }
.steel-card .spec { font-size:12px; color:#64748b; }
.steel-card .life { font-size:12px; color:#4a90c4; font-weight:600; margin-top:4px; }

/* ----- PROCESS STEPS ----- */
.process-steps { display:grid; grid-template-columns:repeat(5,1fr); gap:14px; }
.process-step { background:#f1f5f9; border-radius:10px; padding:20px 14px; border-top:3px solid #0f172a; text-align:center; }
.process-step .num {
  background:#0f172a; color:#fff; width:30px; height:30px; border-radius:50%;
  display:inline-flex; align-items:center; justify-content:center; font-size:14px; font-weight:700;
  margin-bottom:8px;
}
.process-step h4 { font-size:14px; color:#0f172a; margin-bottom:4px; }
.process-step p { font-size:13px; color:#64748b; line-height:1.5; }

/* ----- WHY CARDS ----- */
.why-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.why-card {
  background:#fff; border-radius:10px; padding:24px 20px;
  border:1px solid #e2e8f0; transition:box-shadow .25s;
}
.why-card:hover { box-shadow:0 8px 30px -8px rgba(0,0,0,0.1); }
.why-card .icon { font-size:28px; margin-bottom:10px; }
.why-card h4 { margin-bottom:6px; }
.why-card p { font-size:14px; color:#64748b; line-height:1.6; }

/* ----- CASE STUDY ----- */
.case-grid { display:grid; grid-template-columns:1fr 1fr 1fr; gap:20px; }
.case-card {
  background:#fff; border-radius:12px; overflow:hidden; border:1px solid #e2e8f0;
  box-shadow:0 2px 12px rgba(0,0,0,0.04);
}
.case-card .case-img { width:100%; height:200px; background:#cbd5e1; display:flex; align-items:center; justify-content:center; color:#64748b; font-size:13px; }
.case-body { padding:20px; }
.case-body .case-tag {
  display:inline-block; font-size:11px; font-weight:600; text-transform:uppercase;
  letter-spacing:0.5px; color:#4a90c4; background:#eff6ff; padding:3px 10px; border-radius:4px;
  margin-bottom:8px;
}
.case-body h4 { font-size:17px; margin-bottom:8px; }
.case-body p { font-size:13px; color:#64748b; line-height:1.6; }

/* ----- INDUSTRY GRID ----- */
.industry-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:14px; }
.industry-card {
  border-radius:10px; padding:18px 14px; color:#fff; text-align:center;
}
.industry-card h4 { color:#fff; font-size:15px; margin-bottom:6px; }
.industry-card p { font-size:12px; line-height:1.5; opacity:0.85; }
.industry-card .cert { font-size:11px; font-weight:600; margin-top:6px; opacity:0.9; }
.ind-aero { background:#0f172a; }
.ind-med { background:#2e7d32; }
.ind-auto { background:#c2410c; }
.ind-elect { background:#6d28d9; }
.ind-ind { background:#0e7490; }

/* ----- COMPARISON TABLE ----- */
.compare-table { width:100%; border-collapse:collapse; font-size:14px; border-radius:10px; overflow:hidden; }
.compare-table th { background:#0f172a; color:#fff; padding:12px 16px; font-weight:600; }
.compare-table td { padding:10px 16px; border-bottom:1px solid #e2e8f0; }
.compare-table td.yes { color:#16a34a; font-weight:600; }
.compare-table td.no { color:#dc2626; }
.compare-table td.mid { color:#d97706; }

/* ----- FAQ ----- */
.faq-item { border-bottom:1px solid #e2e8f0; }
.faq-q {
  font-size:16px; font-weight:600; color:#1e293b; padding:16px 0;
  cursor:pointer; display:flex; justify-content:space-between; align-items:center;
  user-select:none; transition:color .2s;
}
.faq-q:hover { color:#4a90c4; }
.faq-q .arrow { font-size:14px; transition:transform .25s; color:#94a3b8; }
.faq-q.open .arrow { transform:rotate(45deg); color:#4a90c4; }
.faq-a {
  font-size:14px; color:#475569; line-height:1.7; padding:0 0 16px; display:none;
}
.faq-a.open { display:block; }

/* ----- HIGHLIGHT BOX ----- */
.highlight {
  background:#f0f7ff; border-left:4px solid #4a90c4;
  padding:16px 20px; border-radius:0 8px 8px 0; margin:20px 0;
}
.highlight p { font-size:14px; color:#1e3a5f; margin:0; line-height:1.65; }
.highlight.warning { background:#fef3c7; border-left-color:#d97706; }
.highlight.warning p { color:#78350f; }

/* ----- CTA ----- */
.cta-section {
  background: linear-gradient(135deg, #0f172a 0%, #122244 50%, #0f3460 100%);
  padding:64px 0; text-align:center; color:#fff;
}
.cta-section h2 { color:#fff; font-size:30px; margin-bottom:12px; }
.cta-section p { color:#94a3b8; font-size:16px; margin-bottom:28px; max-width:600px; margin-left:auto; margin-right:auto; }
.cta-note { font-size:13px; color:#64748b; margin-top:18px; }

/* ----- GEO SUMMARY ----- */
.geo-section { background:#0f172a; color:#fff; padding:48px 0; }
.geo-section h2 { color:#fff; font-size:18px; border-bottom:2px solid #4a90c4; padding-bottom:8px; margin-bottom:20px; }
.geo-table { width:100%; border-collapse:collapse; font-size:14px; }
.geo-table td { padding:10px 18px; border-bottom:1px solid rgba(255,255,255,0.1); }
.geo-table td:first-child { font-weight:600; width:30%; }

/* ----- EEAT AUTHOR ----- */
.eeat-box {
  background:#f1f5f9; border-radius:10px; padding:20px 24px;
  display:flex; align-items:center; gap:16px; margin-top:20px;
}
.eeat-avatar {
  background:#0f172a; color:#fff; width:48px; height:48px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; font-size:20px; font-weight:700;
  flex-shrink:0;
}
.eeat-info p { margin:2px 0; font-size:13px; color:#475569; }
.eeat-info p:first-child { font-size:14px; font-weight:600; color:#0f172a; }

/* ----- FOOTER ----- */
.footer { background:#0a1628; color:#94a3b8; padding:28px 0; text-align:center; font-size:13px; }
.footer a { color:#4a90c4; }

/* ----- RESPONSIVE ----- */
@media (max-width:768px) {
  .hero { padding:40px 0 36px; }
  .hero-grid { flex-direction:column; gap:28px; }
  .hero-text h1 { font-size:26px; }
  .hero-tags { gap:8px; }
  .hero-tags span { font-size:12px; padding:4px 10px; }
  .hero-actions { flex-direction:column; }
  .btn { width:100%; text-align:center; }
  .hero-metrics { grid-template-columns:1fr 1fr 1fr; }
  .hero-metric { padding:12px 8px; }
  .hero-metric .val { font-size:22px; }
  .hero-metric .lbl { font-size:11px; }
  .trust-grid { gap:16px; padding:20px 0; }
  .trust-item { flex:1 1 40%; }
  .trust-item .trust-num { font-size:22px; }
  h2 { font-size:22px; }
  h3 { font-size:16px; }
  .challenge-grid { grid-template-columns:1fr; }
  .cap-grid { grid-template-columns:1fr 1fr; }
  .steel-grid { grid-template-columns:1fr 1fr 1fr; }
  .process-steps { grid-template-columns:1fr 1fr; }
  .why-grid { grid-template-columns:1fr 1fr; }
  .case-grid { grid-template-columns:1fr; }
  .industry-grid { grid-template-columns:1fr 1fr; }
  .section { padding:36px 0; }
  .section-header { margin-bottom:28px; }
  .cta-section { padding:40px 0; }
  .cta-section h2 { font-size:24px; }
}
@media (max-width:480px) {
  .container { padding:0 16px; }
  .hero { padding:32px 0 28px; }
  .hero-text h1 { font-size:22px; }
  .hero-subtitle { font-size:15px; }
  .hero-metrics { grid-template-columns:1fr 1fr; }
  .cap-grid { grid-template-columns:1fr; }
  .steel-grid { grid-template-columns:1fr 1fr; }
  .process-steps { grid-template-columns:1fr; }
  .why-grid { grid-template-columns:1fr; }
  .industry-grid { grid-template-columns:1fr; }
  .trust-item { flex:1 1 100%; }
  .cta-section h2 { font-size:20px; }
  .cta-section p { font-size:14px; }
}
